﻿using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SKG.DAL.Entities
{
    public class Rec_Ungvien : Zinfors
    {
        #region Foreign key
        /// <summary>
        /// Thuộc vị trí (reference to Pol_Dictionary)
        /// </summary>
        [Column(Order = 1), ForeignKey("Vitri")]
        public Guid? Vitri_Id { set; get; }
        /// <summary>
        /// Thuộc vị trí
        /// </summary>
        public virtual Pol_Dictionary Vitri { get; set; }

        /// <summary>
        /// Nơi cấp chứng minh thư (reference to Pol_Dictionary)
        /// </summary>
        [Column(Order = 2), ForeignKey("Noicap")]
        public Guid? Noicap_Id { set; get; }
        /// <summary>
        /// Nơi cấp chứng minh thư
        /// </summary>
        public virtual Pol_Dictionary Noicap { get; set; }

        /// <summary>
        /// Có quốc tịch (refercence to Pol_Dictionary)
        /// </summary>
        [Column(Order = 3), ForeignKey("Quoctich")]
        public Guid? Quoctich_Id { set; get; }
        /// <summary>
        /// Có quốc tịch
        /// </summary>
        public virtual Pol_Dictionary Quoctich { get; set; }
        #endregion

        public decimal Mucluong { get; set; }
        public DateTime Ngay_Lamviec { get; set; }
        public string Muctieu { get; set; }
        public string Ten { get; set; }
        public DateTime Ngaysinh { get; set; }
        public string Noisinh { get; set; }
        public bool Gioitinh { get; set; }
        public string CMND { get; set; }
        public DateTime Ngaycap { get; set; }
        public string Diachi_Thuongtru { get; set; }
        public string Diachi_Lienhe { get; set; }
        public string Tel { get; set; }
        public string HP { get; set; }
        public string Email { get; set; }
        public decimal Chieucao { get; set; }
        public decimal Cannang { get; set; }
        public string Honnhan { get; set; }
        public string Sothich { get; set; }
        public string Diemmanh { get; set; }
        public string Diemyeu { get; set; }
        public string Muctieu2 { get; set; }
        public string Cacbuoc { get; set; }
        public string Nhanviec { get; set; }
        public string Lamviec { get; set; }
        public string Khong_Hailong { get; set; }
        public string Ba_Yeuto_Mongmuon { get; set; }
        public string Lydo_Nopdon_Xinviec { get; set; }
        public string Biet_Thongtin { get; set; }
    }
}